<div id="content_header">
  <h3>Register a new credit card</h3>
</div>
<div class="row">
	<div class="col-md-6 col-lg-4">
		<form name="form" role="form" ng-submit="add()">

		    <div class="form-group" ng-class="{ 'has-error': errors.Name}">
		      <label class="required" for="Name">Credit Card</label>
		      <input type="text" name="Name" class="form-control" id="" placeholder="Input field" ng-model="newItem.Name" required>
		      <error-widget field="errors.Name"></error-widget>
		    </div>

		    <button type="submit" class="btn btn-primary" >Submit</button>
		</form>
	</div>
</div>